﻿ALink RDP 1.0.1 (build 24) - Release Notes
=========================================
Release date: 2026-11-26
File: ALink RDP.exe (64-bit, single portable EXE, not code-signed)
SHA256: 70ECA7D405F09DCA30E68954FE3A474BAE74DF27A138D6EFD519074EAD86A1AE

Build 24 changes since build 23: fixes "Connect() call failed (0x80020009)" after running for a long time, where Reconnect kept failing
- After a remote desktop tab was left open overnight, it could show "Connection error - Connect() call failed
  (0x80020009)", and Reconnect kept failing until the tab was closed and opened again. The Remote Desktop component
  in that tab (Windows' own mstscax) had broken, and reconnecting kept reusing the same component.
- ALink now replaces the broken component with a new one in the same tab and connects again:
  - Reconnect connects with a new component right away; there is no need to close the tab.
  - Automatic reconnection after a network drop also switches to a new component and signs in with the saved
    password; connections without a saved password stop on the error page, where Reconnect works.
- A broken component is no longer kept for reuse by new tabs.

Build 23 changes since build 22: documentation update, no functional changes
- The new way of connecting to a Mac (the Apple Screen Sharing dialect, from build 22) has now been tested on a real
  Mac (macOS 27): picture, encryption, push updates, clicks and keyboard input all work, with zero picture decoding
  errors. The "not yet verified on a real Mac" note has been removed.
- The program code is the same as build 22; only the build number changed to 23.

Build 22 changes since build 21: Mac connections now use Apple Screen Sharing's own protocol (smoother, encrypted, Unicode clipboard)
- When connecting to macOS Screen Sharing, ALink now speaks the dialect used by Apple's own Screen Sharing app
  (the Apple dialect of RFB 3.889):
  - The Mac sends changes as soon as they happen (push mode) instead of answering one request at a time; the Mac's
    physical display used to manage only a few frames per second with frequent one-second pauses.
  - Apple's 8x8 tile picture encoding is used; a full screen takes a small fraction of the data of the standard
    encoding, so live wallpapers, video and animations are much smoother.
  - When you sign in with the Mac account name and password, the picture, keyboard, mouse and clipboard after
    sign-in are encrypted (they used to be sent in the clear).
  - The clipboard uses the Mac's own messages, so Chinese and any other text syncs in both directions (it used to
    carry only Western characters).
  - Right and middle buttons use the Mac's button numbers; the wheel scrolls by distance.
  - When a Retina Mac is shown very small in the window, ALink asks the Mac to halve the picture before sending it
    (less bandwidth); enlarging the window or switching to actual size restores the full resolution automatically.
- Connections to other (non-Mac) VNC servers are unchanged.
- The package now includes ThirdPartyNotices.txt (the Apple tile picture decoder is ported from zDesk, MIT License).
- (When build 22 was released it had not been verified on a real Mac; build 23 confirms it has, see above.)

Build 21 changes since build 20: bridging is also turned off on PCs upgrading from an older build
- Older builds saved "Allow an upper-level ALink to bridge this PC's sessions" as on in the data file even if the user
  never touched it. From build 21, a data file from an older build loads with this setting off; turn it on again under
  Settings > Multi-level bridging if needed, and it is remembered from then on.
- Going back to an older build keeps the last choice made here (off stays off).

Build 20 changes since build 19: multi-level bridging is off by default
- "Allow an upper-level ALink to bridge this PC's sessions" is now off by default; turn it on under Settings >
  Multi-level bridging when needed. It used to be on by default, so an ALink that connected to this PC over Remote
  Desktop automatically saw and used the connections and passwords saved in this PC's ALink.
- (From build 21: PCs that ran an older build also have it turned off after upgrading; see above.)

Build 19 changes since build 18: small fixes
- When an installer or Windows Update asks ALink to close while a dialog is open (including a dialog opened from another
  dialog), the dialogs are now cancelled automatically and ALink saves and exits; it used to wait on the dialog until
  Windows ended it. Clicking x still brings the dialog to the front first, as before.

Build 18 changes since build 17: the remaining minor items from the second review
- Closing the main window while a dialog is open now brings the dialog to the front and goes to the tray (or exits)
  after the dialog is dismissed; the program could previously be closed behind the dialog.
- Creating, unlocking or changing the master password, and importing or exporting, no longer freeze the window for
  a few seconds (the key is computed in the background).
- In the background the program checks the mouse position once a second instead of 20 times (saves power); the full
  screen tab bar appears only when the program is in front (or pinned).
- Dialogs such as "Choose devices to share" and "Import from Windows Remote Desktop Connection" no longer grow taller
  than the screen when there are many items: check boxes are packed 2-3 per row, and a note says how many there are in
  total when only part of the list is shown.
- Mac / VNC:
  - When someone at the Mac must click "Accept", the program now waits up to 3 minutes (it used to give up after 30 s).
  - Sending a large clipboard over a slow network no longer makes this PC's keyboard and mouse lag.
- Multi-level bridging: passwords kept in memory are now encrypted; the number of simultaneous relays and the data queued
  per relay are capped, so a misbehaving peer cannot bog down the program; the relay port cannot be taken over by another
  program on this PC.
- Screen readers: the default action of a connection item is now "Open"; an action no longer lands on another item when
  the list changes at that moment; hover colors are clearly visible in high contrast themes.
- English interface: fixed several duplicate menu access keys.
- Hardening: Windows security features such as CET shadow stacks are enabled; a Remote Desktop background thread that fails to
  start no longer terminates the program.

Build 17 changes since build 16: fixes from a second whole-project review
- Safer multi-level bridging: this PC used to connect directly, with the password saved on the upper computer, whenever
  the port answered. If your network (a hotel, say) happened to have another computer at the same address, the password
  went to it. Now a direct connection is made only when the certificate this PC reads matches the one the upper computer
  recorded; otherwise the connection is relayed through the upper computer.
- Newly imported .rdp files never share this PC's drives, printers, USB devices or cameras (a common phishing trick); the
  import summary says so.
- The "remote certificate changed" notice now shows the old and new fingerprints and stays until you click it; a system
  notification is shown when the window is in the tray or full screen. (It used to say "see the log", vanish after
  10 minutes, and be invisible in full screen.)
- Mac / VNC:
  - On French, German and similar keyboards, the letter typed right after an accented one is no longer sent twice, and
    the accent is no longer lost when a dead key is followed by Enter.
  - The clipboard follows the connection's "Share clipboard" option, and the tab menu has a new "Sync clipboard" switch
    (it used to send this PC's clipboard, unencrypted, whenever the tab got focus).
  - A server flooding bells, clipboard or cursor messages can no longer bog down the whole program.
- A relay no longer gets stuck on this PC when the upper computer closes it first.
- The remembered master password record is no longer deleted when it is briefly locked at startup (by antivirus, say).
- Keyboard only: Ctrl+, opens the settings menu; Shift+F10 or the Menu key opens a connection's context menu; screen
  readers can now find the status bar buttons.
- The release zip now stores Chinese file names properly, so they unzip correctly on other-language systems and Macs.
Build 16 changes since build 15: stability and polish
- Uses less power: with no open sessions, or while minimized or in the tray, ALink no longer wakes up every 50 ms.
- If the data file's folder can't be written (for example it is read-only), ALink explains once; after that the
  status bar shows "Changes not saved yet", and "Changes saved" once saving works again. It used to show a message
  box after every settings change.
- With two copies of ALink in different folders (each with its own data file), starting one again brings up only
  its own window.
- The tray menu is sized for the display it opens on (correct size with multiple displays at different scaling).
- Interface updates after events such as a Remote Desktop disconnect now run after the event is handled, which is
  more stable.
- Choosing devices to share no longer creates a new Remote Desktop component each time: it opens faster and no
  longer uses more system resources each time.
- Interface preferences and the "remember master password" record are flushed to disk when written, so a sudden
  power loss doesn't corrupt them.
- Exporting connections writes to a temporary file first and replaces the target only on success; overwriting an
  existing file used to lose it if writing failed.
Build 15 changes since build 14: security hardening and accessibility
- "Remember master password on this PC" no longer stores the master password itself. It stores a key derived from
  it that opens only this data file, so anyone who decrypts the record still can't get a master password you may
  reuse elsewhere. Changing the master password replaces the key automatically. Records saved by earlier builds
  still work and are converted to the new format at the first automatic unlock.
- While unlocked, each saved connection password is also kept encrypted in memory and decrypted only at the moment
  of connecting, then cleared.
- System components are loaded only from the Windows system folder: when the program sits in Downloads or a
  similar folder, a same-named DLL placed next to it is not loaded.
- Screen reader (Narrator, NVDA, etc.) support:
  - Every item in the connection list, tab bar, context menus and settings menu reports its name, state
    (connected, selected, checked, unavailable, etc.) and shortcut, and can be activated directly.
  - Text boxes in dialogs and the search box read out their labels.
- A temporary problem during automatic unlock (such as the data file being in use) no longer deletes the
  remembered master password.
Build 14 changes since build 13: smoother Mac / VNC sessions and more accurate input
- Smoother screen updates:
  - Screen data is decompressed 2 to 4 times faster (the same data now takes 28 ms instead of 67 ms; the worst case
    87 ms instead of 326 ms).
  - Several small, scattered changes (such as a clock and a blinking cursor) now redraw only those small areas
    instead of the large area around them (a scaled redraw drops from about 30 ms to under 1 ms).
  - Large moved areas (such as a dragged window) are no longer copied twice.
- Touchpad scrolling: a light swipe on a precision touchpad no longer scrolls dozens of lines; scrolling now matches
  this PC. Ordinary mouse wheels are unchanged.
- Dead keys on French, German and similar keyboards (for example ^ then e for ê) now type correctly; the remote
  computer used to receive only e.
- Left and right Ctrl, and left and right Alt, are handled separately: releasing one side while both are held keeps
  the other side pressed.
- Clipboard:
  - UTF-8 text sent the standard way (some Linux VNC servers do this) no longer turns into garbled characters.
  - In View only mode the remote clipboard no longer overwrites this PC's clipboard (nothing is synced either way).
- If the remote computer accepts the connection but never responds, ALink reports "did not respond" after 30 seconds
  instead of staying at "Connecting" forever; automatic reconnect keeps trying.
- Closing a tab that is still connecting (for example while resolving a .local name) no longer freezes the window
  for up to 3 seconds.
Build 13 changes since build 12: stability and security fixes (whole-project code review)
- Automatic reconnect:
  - Clicking "Reconnect now" on the reconnect page keeps reconnecting automatically if it still fails (it used to stop).
  - Turning off automatic reconnect in Settings stops waiting reconnects at once.
  - When an administrator disconnects your session on the remote PC, ALink no longer reconnects straight away; it
    reconnects only after confirming that the PC is really restarting.
  - Waking this PC from sleep reconnects right away instead of waiting up to a minute.
  - After reconnecting, the remote resolution is set again for the current window size.
- A session relayed through an upper computer that drops is relayed again automatically; it used to keep reconnecting
  to a local port that no longer existed. "Reconnect" and "New session to this machine" also request a new relay.
- Safer relaying:
  - The local relay port accepts only ALink's own connection; other programs on this PC cannot use it.
  - The computer you connect to relays only to the sessions it lists, so it cannot be used to reach any address on
    its network, and the number of simultaneous relays is limited.
  - Sessions opened through a bridge no longer take drive, printer, microphone and smart-card sharing from the upper
    computer; this PC decides.
  - If either end ignores flow control, that relay is closed instead of using up memory.
  - Turning off "Allow bridging" in Settings disconnects the current upper computer at once.
- Importing .rdp files with "Overwrite": a saved password is no longer kept when the gateway settings change; local
  resource sharing and "Connect automatically" keep their current values; newly imported connections never connect
  automatically at start.
- While a dialog is open the tray menu no longer appears (choosing Exit from it could make the program fail); the
  dialog is brought to the front instead.
- ALink exits properly when an installer or Windows asks it to close (it used to hide to the tray).
- A session that is being closed is no longer destroyed by force while the Remote Desktop component's credential
  prompt or certificate warning is open (this could crash the program).

Build 12 changes since build 11: smoother, faster relaying
- Relayed connections now use flow control: when either end cannot keep up, the other end slows down instead of piling
  data up in memory. Before, a slow receiver made ALink use more and more memory (about 150 MB when sending 64 MB) and
  the picture became sluggish; now about 1 MB of buffer is used.
- ALink on the upper computer writes each relayed connection separately, so one slow computer no longer slows down the
  other relayed sessions.
- When a relayed connection closes, the data already received is delivered first, so the remote computer's reason for
  disconnecting is not lost.
- Data sent to the upper computer is batched, so the window stays responsive during heavy relaying.
- Opening a bridged session tries the direct connection and the relay at the same time, so it connects sooner when
  the direct route does not work.
- Works with ALink build 11 and earlier on the other end (without flow control).

Build 11 changes since build 10: multi-level bridge relay fixes
- Fixed: when you connected to a remote computer first and started ALink on it afterwards (or ALink opened the bridge
  channel after the connection), the bridge never formed, so its sessions did not appear in the tab bar and could not
  be relayed. Both sides now resend the bridge request, and the remote ALink asks for the handshake when it starts.
- When the port is reachable directly but the direct connection fails (certificate, sign-in, or an address that only
  works inside the remote network), the failed tab is closed and the connection is relayed through the upper computer.
- Relayed connections try all addresses the target name resolves to at once and use the first that answers; the relay
  wait is now 20 seconds instead of 5.
- The remote ALink offers the bridge even without relying on Windows reporting a Remote Desktop session, which some setups misreport.
- Sign-in failures (disconnect code 2055) now explain the cause: wrong user name or password, or the account is not
  allowed to sign in remotely.

Build 10 changes since build 9
- Removed "Refit resolution to window" from the tab menu: the remote resolution already follows the window size
  automatically, and this manual item made the remote session reinitialise its display at the same size, leaving
  black blocks on some computers.

Build 9 changes since build 8
- Keeps reconnecting after a network drop or a remote restart until it succeeds (it used to give up after 3 tries):
  after 5, 15 and 30 seconds, then every minute; each try first checks that the remote port answers; a session ended
  by the remote server (usually a restart or shutdown) reconnects too. Mac Screen Sharing has no limit either. While
  waiting, the session area shows "Connection lost, reconnecting", a countdown and Reconnect now / Stop reconnecting.
- × closes to the system tray and sessions stay connected; the tray menu opens the window, connects to saved
  computers, turns on starting with Windows and exits. Starting ALink again brings up the existing window instead of
  a "already running" message.
- Start automatically with Windows (Settings or the tray menu); it runs in the tray.
- Connections can be marked "Connect automatically when ALink RDP starts".
- Optional "Remember master password on this PC": encrypted with your Windows account, so ALink unlocks and connects
  by itself after starting with Windows.

Build 8 changes since build 7
- Disconnecting in full screen no longer leaves full screen: the "Disconnected" page fills the screen, the tab bar stays
  visible (switch tabs or leave full screen yourself), and Reconnect brings you straight back in full screen. Full
  screen ends only when the last tab is closed.

Build 7 changes since build 6
- No more blank white screen after disconnecting: the session area shows a "Disconnected" page (computer name and
  reason) with Reconnect and Close tab; connection errors show their reason the same way.
- The connection list's right-click menu now has Disconnect for open connections, so you don't have to find the tab
  bar in windowed mode.

Build 6 changes since build 5
- No more logging: no ALinkRDP.log file (one left by an earlier version can simply be deleted), and the diagnostic
  log has been removed from the Settings menu and the tab bar.
- The top tab bar no longer gets stuck showing: in auto-hide mode it is only as wide as its content and centered (it
  used to span the whole top of the remote screen, covering the Mac menu bar, remote title bars and browser tabs, and
  stayed while the pointer was there); it stays only while the pointer is on it and hides about 0.35 s after it
  leaves; it appears only after resting 0.3 s at the top edge above it, so passing over the top or resting on the
  window title bar doesn't trigger it, and it never flickers on and off.
- Mac connections: "Fit to window" now scales up as well. When the Mac's resolution is smaller than the window or
  screen, the picture used to stay at its original size with wide black borders; it now fills the window, or the
  screen in full screen (centered, with bars only where the aspect ratio differs).
- Mac connections time out less often: all addresses a name resolves to (such as IPv6 and IPv4 for a .local name)
  are tried at once and the first to answer wins; the wait is now 25 seconds instead of 10, enough for a sleeping
  Mac to wake up; the timeout message explains likely causes.

Build 5 changes since build 4: consistent UI details
- All buttons, text boxes, drop-downs and drop-down items now share one height (text boxes used to be 2 px taller
  than buttons, and the sidebar and empty-page buttons differed too); corner radii unified; dialog button rows line
  up exactly with the fields above, and column splits line up from row to row.
- In dark mode, placeholder text in text boxes was barely visible; it now uses the theme colors and lines up with
  typed text.
- Chinese text prefers to wrap at punctuation instead of splitting words or leaving one or two characters on the last
  line; English text no longer leaves a single word on the last line.
- Advanced options group all check boxes together; the generic USB help is shorter; the component version in About
  no longer wraps.

Build 4 changes since build 3: USB and device redirection
- Advanced options add "USB and Plug and Play devices" and "Cameras": don't share / all (including ones plugged in
  later) / selected devices... (lists the devices this PC can share; tick the ones you need).
- With "Local drives" on, USB sticks and external disks plugged in during the session also appear on the remote PC.
- New "Generic USB...": checks whether Windows RemoteFX USB redirection is enabled on this PC; if not, click
  "Turn on as administrator" (takes effect after restarting this PC). Then other USB devices such as dongles,
  scanners and phones also appear in the device list.
- Importing / exporting .rdp files carries these settings too (devicestoredirect, usbdevicestoredirect,
  camerastoredirect).

Build 3 changes since build 2: multi-level bridging
- When the remote PC also runs ALink, the two bridge automatically: this PC's tab bar lists the sessions open there
  ("A › B"); click one to open it directly on this PC instead of a screen inside a screen. It connects directly when
  possible, otherwise it relays through A over the same encrypted Remote Desktop connection.
- Passwords saved on A come with the list (kept in memory only); A can turn off password sharing or bridging under
  Settings > Multi-level bridging.
- While bridged, A hides its own tab bar and doesn't auto-reconnect sessions opened by the upper level, so there are
  no stacked floating bars and no fighting over sessions.
- One more level down is supported (sessions A itself bridged are reported too), with loop protection.

Build 2 changes since build 1 (fixes from a full code review)
- Security: when a Remote Desktop control is reused, the previous connection's gateway account and password are now
  cleared, so they can't be sent to the next connection's gateway.
- Dialog keyboard: message boxes start with focus on the default button (such as Cancel), so a stray Space no longer
  runs Delete / Exit anyway; Enter on a focused button runs that button (it used to always Save); focus returns to
  the previous field after switching windows; dialogs stay inside the screen's work area and can be dragged by the
  title; Alt+F8 shows / hides the password; check boxes are announced correctly by screen readers.
- Mac Screen Sharing: fixed a race where keystrokes could go to another connection at the moment of a disconnect;
  a stalled network no longer slows down the whole system keyboard; fixed a stuck local Win key in a rare sequence;
  4 error messages are now translated.
- Reconnect now, manual reconnect while an automatic one is pending, and "full screen only" Windows keys after a
  reconnect all use the latest settings and credentials.
- A certificate fingerprint recorded while the edit dialog is open is no longer overwritten; closing the last tab in
  full screen leaves full screen; window position and settings are saved on sign-out / shutdown; a window that was
  maximized, then minimized when closed, reopens maximized.
- After changing the master password, you're asked whether to delete the old-format backup (it still opens with the
  old password).
- Importing an ALink export file checks its header first; exporting an .rdp writes a temporary file, then replaces.
- Log: also rotates at 4 MB while running; the network thread no longer touches the UI; a crash records its location
  in the log (no memory dump).
- Fewer password leftovers in freed memory (list changes, mistyped passwords, dialogs rebuilt on DPI change).
- File properties now include company and copyright.

What's new since 1.0.0 (build 2)
New features
- Import / export: import .rdp files (several at once) and the recent-connection history of Windows Remote Desktop
  Connection; export all connections to an encrypted .alinkrdp file (its own export password, saved passwords
  optional) and import it on another PC; export a single Remote Desktop connection as an .rdp file without the
  password. Duplicates on import: Skip / Overwrite / Keep both.
- Automatic reconnect: after the Windows component's own reconnect gives up, ALink retries after 5, 15 and 30
  seconds, with a countdown on the tab and "Reconnect now" / "Cancel automatic reconnect" in the menu. It can be
  turned off in Settings; the existing Mac Screen Sharing reconnect follows the same switch.
- Remote Desktop advanced options (Edit > Advanced...): local drives, printers, microphone, smart cards, clipboard;
  remote audio; quality and bandwidth; where Windows keys (Win, Alt+Tab) go; admin mode; use all monitors in full
  screen; RD Gateway (optionally with a separate gateway account; its password is encrypted too).
- Session actions: a new "..." button on the tab bar; the tab menu adds Send Ctrl+Alt+Del
  and Save remote screenshot.
- Remembers the window position and size; the unlock screen now uses your chosen language and theme (new
  ALinkRDP.ui preferences file, which holds no connection data).

Remote identity (certificates)
- As requested, ALink no longer shows "The identity of the remote computer cannot be verified" and connects directly.
- It records each computer's certificate fingerprint in the background: the first one is remembered automatically;
  if it later changes, there's no pop-up, only a note in the status bar and the log.
- Turn on Settings > Warn me about remote identity problems to get the Windows warning back.

Improvements
- Resource use: the ~18 GDI objects per connection seen in 1.0.0 came from the Windows component's certificate
  warning dialog. With it off by default, 50 connections in a row show no GDI growth, so long sessions no longer
  lead to the "restart recommended" notice.
- After editing a connection, "Reconnect" on an existing tab and "New session to this PC" use the new settings.
- Fixed: in full screen the top tab bar sometimes stayed visible until the mouse moved over it and away. It now hides
  as soon as the cursor leaves the bar (more than 4 px below it), and resets itself after 1.5 s if it wrongly thinks
  a tab is still being dragged.
- Windows keys (Win, Alt+Tab) now go to the remote PC by default while the remote session has focus; "full screen
  only" and "keep on this PC" are still available.

Data file
- The data format is now v4. 1.0.1 reads 1.0.0 data and, before its first save, copies the old file to
  ALinkRDP.dat.v3.bak. 1.0.0 can't read v4; to go back, rename the backup to ALinkRDP.dat.

Quality and testing (this build, 2026-11-25, only the parts related to this change)
- Build 21: data file unit tests 147/147 (new: turned on, saved and reloaded stays on; both the old and new markers are
  written; on in an older build's data file becomes off after upgrading; even older formats load as off), multi-level
  bridging 28/28, real bridge channel 31/31, release smoke test 7/7.
- Builds 14-20: VNC decoding and redraw, input details, remembered master password stored as a key, in-memory password
  encryption, DLL loading, accessibility, bridge certificate checks, import without shared resources, deferred close,
  background key derivation, cancelling dialogs when an installer asks ALink to close, bridging off by default; all
  related tests passed (see each build's notes).

Still to be confirmed on real machines
- Real Windows hosts: NLA credential prompt without a saved password, Ctrl+Tab inside the session, Chinese IME,
  dynamic resolution; local drives / printers / audio / microphone / smart cards inside the session; "Windows keys
  to remote in full screen only".
- RD Gateway (no real gateway here; only parameter handling and failure behaviour were tested).
- Multi-level bridging: A opening the bridge channel inside a real Remote Desktop session (verified here with the real
  Remote Desktop control and a proxy playing A: discovery, switching, direct and relayed connections).
- Real Mac: Apple account sign-in compatibility, Command key mapping, Chinese clipboard.
- Unzip and run on a clean Windows 11 PC.
- How screen readers (Narrator, NVDA) actually read the app (names, roles, states and actions were verified by automation);
  menu sizes across displays with different scaling; dead keys on French / German keyboards (tested with simulated keys).
